<html> 
  <head> 
    <title>console.log</title> 
    <script type="text/javascript" src="../jquery.js"></script>
    <script type="text/javascript" src="../math/point2d.js"></script>
    <script type="text/javascript" src="../math/vector2d.js"></script>
    <script type="text/javascript">
       
        var count = 0;
        function onTimer() {
    		//console.log( "hello %d", count++);
    	}
    	
     	$(document).ready( function() {
     	    var elem = $("#myCanvas")[0];
    		if ( !elem || !elem.getContext)
    			return;
    		context = elem.getContext('2d');
    		
    		for ( var k in console) {
    		    console.log( console[k]);
    		}
    		
    		var v = new Vector2D( 1, 0);
    		console.dir( v);
    		//console.log = function( obj) { }
    		
    		setInterval( "onTimer()", 33);

    		
    	});
		</script> 
  </head> 
  <body> 
    <canvas id="myCanvas" width="1024" height="600">
    	Your browser does not have support for Canvas.
    </canvas>
  </body> 
</html> 